﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CityGateway.Objects
{

    [DataContract]
    [Serializable]
    public class CityScore
    {
        //the number of residential units
        [DataMember]
        public int Residential { get; set; }

        [DataMember]
        public int Jobs { get; set; }
        [DataMember]
        public int Health { get; set; }
        [DataMember]
        public int Education { get; set; }
        [DataMember]
        public int Security { get; set; }

        [DataMember]
        public int Energy { get; set; }



        //the amount of waste handeled vs the amount of waste that is produced by the city
        [DataMember]
        public int WasteHandled { get; set; }


        [DataMember]
        public int WasteProduced { get; set; }

        public override string ToString()
        {
            return (this.Residential + this.Jobs).ToString();
        }


        public int Score
        {

            get { return this.Residential + this.Jobs ; }
        }
    }
}
